Skip to content

Conversation

@iddm
Copy link
Owner

@iddm iddm commented Nov 30, 2021

  1. Adds a ThreadBuilderExt trait containing helpful methods for spawning
    a thread with priority. The trait is seamlessly implemented for the
    std::thread::Builder so that it is easy to use.
  2. Adds a struct ThreadBuilder which can be used to set the priority and
    stuff much more easily than just calling functions, before starting a
    thread.

@iddm iddm force-pushed the issue-11-try-extending-the-std-functionality branch 8 times, most recently from a9ec77a to 136ec4d Compare December 2, 2021 19:04
@iddm iddm mentioned this pull request Dec 2, 2021
@iddm iddm force-pushed the issue-11-try-extending-the-std-functionality branch from 136ec4d to 3d6f8bb Compare December 2, 2021 19:07
@hellow554
Copy link

That looks sick! Exactly what I have thought.

Amazing! <3

@iddm
Copy link
Owner Author

iddm commented Dec 2, 2021

If you feel like you have any other idea, please just create an issue straight away, don't hesitate :-)

1. Adds a ThreadBuilderExt trait containing helpful methods for spawning
   a thread with priority. The trait is seamlessly implemented for the
   std::thread::Builder so that it is easy to use.
2. Adds a struct ThreadBuilder which can be used to set the priority and
   stuff much more easily than just calling functions, before starting a
   thread.
@iddm iddm force-pushed the issue-11-try-extending-the-std-functionality branch from 3d6f8bb to b5480f7 Compare December 3, 2021 08:33
@iddm iddm merged commit bc4d249 into master Dec 3, 2021
@iddm iddm deleted the issue-11-try-extending-the-std-functionality branch January 22, 2022 15:03
@iddm iddm restored the issue-11-try-extending-the-std-functionality branch September 3, 2025 14:12
@iddm iddm deleted the issue-11-try-extending-the-std-functionality branch September 3, 2025 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants